#include <math.h>
#include <stdbool.h>
#include <stdio.h>

bool isCompleteSquares(long num);

main(){
	for(long i=0;i<1000000;i++){
		if(isCompleteSquares(i+100) && isCompleteSquares(i+168))
			printf("result : %ld\n",i);
	}
}
bool isCompleteSquares(long num){
   long x=sqrt(num);
   return x*x==num;
}
